package com.weaver.drools.common.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;


/**
 * The persistent class for the E_AQ_INS_INPECTION_124 database table.
 * 
 */
@Entity
@Table(name="E_AQ_INS_INPECTION_124")
public class EAqInsInpection124 implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="E_AQ_INS_INPECTION_124_INPECTIONID_GENERATOR",sequenceName="SE_E_AQ_INS_INPECTION_124",allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="E_AQ_INS_INPECTION_124_INPECTIONID_GENERATOR")
	private Long inpectionid;

	private String address;

	private Long datastatusid;

	private Long datatypeid;

	private String deletereason;

	private Long departmentid;

	private Long detailsregistertypeid;

	private String duties;

	private String entourage;

	private String eventreason;

	private Long finishhdaccidentsum;

	private Long finishmajorhdaccidentsum;

	private Long foundhdaccidentsum;

	private Long foundmajorhdaccidentsum;

	private Long inpectionschemeid;

	private String insaddress;

	private String insdetails;

	private String insfileurl;

	private Long inspectionplanid;

	private Long inspectionplantype;

	private String insplace;

	@Temporal(TemporalType.DATE)
	private Date insstartdate;

	@Temporal(TemporalType.DATE)
	private Date insstopdate;

	private String insunit;

	private Long isapplychecklist;

	private Long isdeleted;

	private Long isexistaccident;

	private Long ishdangerchecks;

	private Long isprint;

	private Long isreferfandmillegal;

	private Long isreferoh;

	private Long isuploadfile;

	private Long lastfoundhdaccidentsum;

	private Long lastfoundmajorhdaccidentsum;

	private Long lastunfinishhdaccidentsum;

	private Long lastunfinishmajorhdaccidentsum;

	@Temporal(TemporalType.DATE)
	private Date latestoperatetime;

	private Long latestoperateuserid;

	private String legalperson;

	private Long linkmantype;

	private Long localefinishhdaccidentsum;

	private Long lplanfinishmajorhdaccidentsum;

	private String party;

	private Long planfinishmajorhdaccidentsum;

	private Long rectificationofreleaseid;

	private String registrant;

	private Long remainunfinishhdaccidentsum;

	private String remark;

	@Temporal(TemporalType.DATE)
	private Date reportdate;

	@Column(name="RESERVED_1")
	private String reserved1;

	@Column(name="RESERVED_2")
	private String reserved2;

	@Column(name="RESERVED_3")
	private String reserved3;

	private String responsibleperson;

	private String responsiblepersonopinion;

	private Long runfinishmajorhdaccidentsum;

	private String signforpeople;

	private Long superviseviewtypeid;

	private String telephone;

	private Long unfinishhdaccidentsum;

	private Long unfinishmajorhdaccidentsum;

	private Long userid;

	private Long writid;

	private String writnumber;

	private String zipcode;

	//bi-directional many-to-one association to EAqInsInpection124
	@ManyToOne
	@JoinColumn(name="P_INPECTIONID")
	private EAqInsInpection124 EAqInsInpection124;

	//bi-directional many-to-one association to EAqInsInpection124
	@OneToMany(mappedBy="EAqInsInpection124")
	private Set<EAqInsInpection124> EAqInsInpection124s;

	@ManyToOne
	@JoinColumn(name="OPERATEPOINTID")
	private QCmnOperatepoint20 QCmnOperatepoint20;
	
	public EAqInsInpection124() {
	}

	public Long getInpectionid() {
		return this.inpectionid;
	}

	public void setInpectionid(Long inpectionid) {
		this.inpectionid = inpectionid;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getDatastatusid() {
		return this.datastatusid;
	}

	public void setDatastatusid(Long datastatusid) {
		this.datastatusid = datastatusid;
	}

	public Long getDatatypeid() {
		return this.datatypeid;
	}

	public void setDatatypeid(Long datatypeid) {
		this.datatypeid = datatypeid;
	}

	public String getDeletereason() {
		return this.deletereason;
	}

	public void setDeletereason(String deletereason) {
		this.deletereason = deletereason;
	}

	public Long getDepartmentid() {
		return this.departmentid;
	}

	public void setDepartmentid(Long departmentid) {
		this.departmentid = departmentid;
	}

	public Long getDetailsregistertypeid() {
		return this.detailsregistertypeid;
	}

	public void setDetailsregistertypeid(Long detailsregistertypeid) {
		this.detailsregistertypeid = detailsregistertypeid;
	}

	public String getDuties() {
		return this.duties;
	}

	public void setDuties(String duties) {
		this.duties = duties;
	}

	public String getEntourage() {
		return this.entourage;
	}

	public void setEntourage(String entourage) {
		this.entourage = entourage;
	}

	public String getEventreason() {
		return this.eventreason;
	}

	public void setEventreason(String eventreason) {
		this.eventreason = eventreason;
	}

	public Long getFinishhdaccidentsum() {
		return this.finishhdaccidentsum;
	}

	public void setFinishhdaccidentsum(Long finishhdaccidentsum) {
		this.finishhdaccidentsum = finishhdaccidentsum;
	}

	public Long getFinishmajorhdaccidentsum() {
		return this.finishmajorhdaccidentsum;
	}

	public void setFinishmajorhdaccidentsum(Long finishmajorhdaccidentsum) {
		this.finishmajorhdaccidentsum = finishmajorhdaccidentsum;
	}

	public Long getFoundhdaccidentsum() {
		return this.foundhdaccidentsum;
	}

	public void setFoundhdaccidentsum(Long foundhdaccidentsum) {
		this.foundhdaccidentsum = foundhdaccidentsum;
	}

	public Long getFoundmajorhdaccidentsum() {
		return this.foundmajorhdaccidentsum;
	}

	public void setFoundmajorhdaccidentsum(Long foundmajorhdaccidentsum) {
		this.foundmajorhdaccidentsum = foundmajorhdaccidentsum;
	}

	public Long getInpectionschemeid() {
		return this.inpectionschemeid;
	}

	public void setInpectionschemeid(Long inpectionschemeid) {
		this.inpectionschemeid = inpectionschemeid;
	}

	public String getInsaddress() {
		return this.insaddress;
	}

	public void setInsaddress(String insaddress) {
		this.insaddress = insaddress;
	}

	public String getInsdetails() {
		return this.insdetails;
	}

	public void setInsdetails(String insdetails) {
		this.insdetails = insdetails;
	}

	public String getInsfileurl() {
		return this.insfileurl;
	}

	public void setInsfileurl(String insfileurl) {
		this.insfileurl = insfileurl;
	}

	public Long getInspectionplanid() {
		return this.inspectionplanid;
	}

	public void setInspectionplanid(Long inspectionplanid) {
		this.inspectionplanid = inspectionplanid;
	}

	public Long getInspectionplantype() {
		return this.inspectionplantype;
	}

	public void setInspectionplantype(Long inspectionplantype) {
		this.inspectionplantype = inspectionplantype;
	}

	public String getInsplace() {
		return this.insplace;
	}

	public void setInsplace(String insplace) {
		this.insplace = insplace;
	}

	public Date getInsstartdate() {
		return this.insstartdate;
	}

	public void setInsstartdate(Date insstartdate) {
		this.insstartdate = insstartdate;
	}

	public Date getInsstopdate() {
		return this.insstopdate;
	}

	public void setInsstopdate(Date insstopdate) {
		this.insstopdate = insstopdate;
	}

	public String getInsunit() {
		return this.insunit;
	}

	public void setInsunit(String insunit) {
		this.insunit = insunit;
	}

	public Long getIsapplychecklist() {
		return this.isapplychecklist;
	}

	public void setIsapplychecklist(Long isapplychecklist) {
		this.isapplychecklist = isapplychecklist;
	}

	public Long getIsdeleted() {
		return this.isdeleted;
	}

	public void setIsdeleted(Long isdeleted) {
		this.isdeleted = isdeleted;
	}

	public Long getIsexistaccident() {
		return this.isexistaccident;
	}

	public void setIsexistaccident(Long isexistaccident) {
		this.isexistaccident = isexistaccident;
	}

	public Long getIshdangerchecks() {
		return this.ishdangerchecks;
	}

	public void setIshdangerchecks(Long ishdangerchecks) {
		this.ishdangerchecks = ishdangerchecks;
	}

	public Long getIsprint() {
		return this.isprint;
	}

	public void setIsprint(Long isprint) {
		this.isprint = isprint;
	}

	public Long getIsreferfandmillegal() {
		return this.isreferfandmillegal;
	}

	public void setIsreferfandmillegal(Long isreferfandmillegal) {
		this.isreferfandmillegal = isreferfandmillegal;
	}

	public Long getIsreferoh() {
		return this.isreferoh;
	}

	public void setIsreferoh(Long isreferoh) {
		this.isreferoh = isreferoh;
	}

	public Long getIsuploadfile() {
		return this.isuploadfile;
	}

	public void setIsuploadfile(Long isuploadfile) {
		this.isuploadfile = isuploadfile;
	}

	public Long getLastfoundhdaccidentsum() {
		return this.lastfoundhdaccidentsum;
	}

	public void setLastfoundhdaccidentsum(Long lastfoundhdaccidentsum) {
		this.lastfoundhdaccidentsum = lastfoundhdaccidentsum;
	}

	public Long getLastfoundmajorhdaccidentsum() {
		return this.lastfoundmajorhdaccidentsum;
	}

	public void setLastfoundmajorhdaccidentsum(Long lastfoundmajorhdaccidentsum) {
		this.lastfoundmajorhdaccidentsum = lastfoundmajorhdaccidentsum;
	}

	public Long getLastunfinishhdaccidentsum() {
		return this.lastunfinishhdaccidentsum;
	}

	public void setLastunfinishhdaccidentsum(Long lastunfinishhdaccidentsum) {
		this.lastunfinishhdaccidentsum = lastunfinishhdaccidentsum;
	}

	public Long getLastunfinishmajorhdaccidentsum() {
		return this.lastunfinishmajorhdaccidentsum;
	}

	public void setLastunfinishmajorhdaccidentsum(Long lastunfinishmajorhdaccidentsum) {
		this.lastunfinishmajorhdaccidentsum = lastunfinishmajorhdaccidentsum;
	}

	public Date getLatestoperatetime() {
		return this.latestoperatetime;
	}

	public void setLatestoperatetime(Date latestoperatetime) {
		this.latestoperatetime = latestoperatetime;
	}

	public Long getLatestoperateuserid() {
		return this.latestoperateuserid;
	}

	public void setLatestoperateuserid(Long latestoperateuserid) {
		this.latestoperateuserid = latestoperateuserid;
	}

	public String getLegalperson() {
		return this.legalperson;
	}

	public void setLegalperson(String legalperson) {
		this.legalperson = legalperson;
	}

	public Long getLinkmantype() {
		return this.linkmantype;
	}

	public void setLinkmantype(Long linkmantype) {
		this.linkmantype = linkmantype;
	}

	public Long getLocalefinishhdaccidentsum() {
		return this.localefinishhdaccidentsum;
	}

	public void setLocalefinishhdaccidentsum(Long localefinishhdaccidentsum) {
		this.localefinishhdaccidentsum = localefinishhdaccidentsum;
	}

	public Long getLplanfinishmajorhdaccidentsum() {
		return this.lplanfinishmajorhdaccidentsum;
	}

	public void setLplanfinishmajorhdaccidentsum(Long lplanfinishmajorhdaccidentsum) {
		this.lplanfinishmajorhdaccidentsum = lplanfinishmajorhdaccidentsum;
	}

	public String getParty() {
		return this.party;
	}

	public void setParty(String party) {
		this.party = party;
	}

	public Long getPlanfinishmajorhdaccidentsum() {
		return this.planfinishmajorhdaccidentsum;
	}

	public void setPlanfinishmajorhdaccidentsum(Long planfinishmajorhdaccidentsum) {
		this.planfinishmajorhdaccidentsum = planfinishmajorhdaccidentsum;
	}

	public Long getRectificationofreleaseid() {
		return this.rectificationofreleaseid;
	}

	public void setRectificationofreleaseid(Long rectificationofreleaseid) {
		this.rectificationofreleaseid = rectificationofreleaseid;
	}

	public String getRegistrant() {
		return this.registrant;
	}

	public void setRegistrant(String registrant) {
		this.registrant = registrant;
	}

	public Long getRemainunfinishhdaccidentsum() {
		return this.remainunfinishhdaccidentsum;
	}

	public void setRemainunfinishhdaccidentsum(Long remainunfinishhdaccidentsum) {
		this.remainunfinishhdaccidentsum = remainunfinishhdaccidentsum;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getReportdate() {
		return this.reportdate;
	}

	public void setReportdate(Date reportdate) {
		this.reportdate = reportdate;
	}

	public String getReserved1() {
		return this.reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return this.reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return this.reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public String getResponsibleperson() {
		return this.responsibleperson;
	}

	public void setResponsibleperson(String responsibleperson) {
		this.responsibleperson = responsibleperson;
	}

	public String getResponsiblepersonopinion() {
		return this.responsiblepersonopinion;
	}

	public void setResponsiblepersonopinion(String responsiblepersonopinion) {
		this.responsiblepersonopinion = responsiblepersonopinion;
	}

	public Long getRunfinishmajorhdaccidentsum() {
		return this.runfinishmajorhdaccidentsum;
	}

	public void setRunfinishmajorhdaccidentsum(Long runfinishmajorhdaccidentsum) {
		this.runfinishmajorhdaccidentsum = runfinishmajorhdaccidentsum;
	}

	public String getSignforpeople() {
		return this.signforpeople;
	}

	public void setSignforpeople(String signforpeople) {
		this.signforpeople = signforpeople;
	}

	public Long getSuperviseviewtypeid() {
		return this.superviseviewtypeid;
	}

	public void setSuperviseviewtypeid(Long superviseviewtypeid) {
		this.superviseviewtypeid = superviseviewtypeid;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public Long getUnfinishhdaccidentsum() {
		return this.unfinishhdaccidentsum;
	}

	public void setUnfinishhdaccidentsum(Long unfinishhdaccidentsum) {
		this.unfinishhdaccidentsum = unfinishhdaccidentsum;
	}

	public Long getUnfinishmajorhdaccidentsum() {
		return this.unfinishmajorhdaccidentsum;
	}

	public void setUnfinishmajorhdaccidentsum(Long unfinishmajorhdaccidentsum) {
		this.unfinishmajorhdaccidentsum = unfinishmajorhdaccidentsum;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getWritid() {
		return this.writid;
	}

	public void setWritid(Long writid) {
		this.writid = writid;
	}

	public String getWritnumber() {
		return this.writnumber;
	}

	public void setWritnumber(String writnumber) {
		this.writnumber = writnumber;
	}

	public String getZipcode() {
		return this.zipcode;
	}

	public void setZipcode(String zipcode) {
		this.zipcode = zipcode;
	}

	public EAqInsInpection124 getEAqInsInpection124() {
		return this.EAqInsInpection124;
	}

	public void setEAqInsInpection124(EAqInsInpection124 EAqInsInpection124) {
		this.EAqInsInpection124 = EAqInsInpection124;
	}

	public Set<EAqInsInpection124> getEAqInsInpection124s() {
		return this.EAqInsInpection124s;
	}

	public void setEAqInsInpection124s(Set<EAqInsInpection124> EAqInsInpection124s) {
		this.EAqInsInpection124s = EAqInsInpection124s;
	}

	public EAqInsInpection124 addEAqInsInpection124(EAqInsInpection124 EAqInsInpection124) {
		getEAqInsInpection124s().add(EAqInsInpection124);
		EAqInsInpection124.setEAqInsInpection124(this);

		return EAqInsInpection124;
	}

	public EAqInsInpection124 removeEAqInsInpection124(EAqInsInpection124 EAqInsInpection124) {
		getEAqInsInpection124s().remove(EAqInsInpection124);
		EAqInsInpection124.setEAqInsInpection124(null);

		return EAqInsInpection124;
	}

	public QCmnOperatepoint20 getQCmnOperatepoint20() {
		return QCmnOperatepoint20;
	}

	public void setQCmnOperatepoint20(QCmnOperatepoint20 qCmnOperatepoint20) {
		QCmnOperatepoint20 = qCmnOperatepoint20;
	}

}